package com.doradance.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Zoi.
 * E-mail：KyluZoi@gmail.com
 * 2017/1/9
 */

public class ArticleEntity {

    /**
     * community_article_id : 1
     * article_title : 测试帖子
     * article_content : 测试内容
     * type_name : 每日一笑
     * is_like : 0
     * article_user_id : 2
     * article_user_name : 18030285080
     * portrait : http://static.binvshe.com/static/party/default_keeper_avatar.png
     * mImages : [{"width":0,"photo_url":"http://img.wadmz.com/wp-content/uploads/2016/11/161129090980287869.jpg@280w_220h_1e_1c_100Q_1x.jpg","height":0},{"width":0,"photo_url":"http://img.wadmz.com/wp-content/uploads/2016/11/161129090980287869.jpg@280w_220h_1e_1c_100Q_1x.jpg","height":0}]
     * visit_num : 2
     * share_num : 0
     * like_num : 5
     * reply_num : 7
     * create_time : 1483601509000
     *"share_url": "http://horien.xmappservice.com/article.html?id=1"
     */

    private int community_article_id;
    private String article_title;
    private String article_content;
    private String type_name;
    private int is_like;
    private int article_user_id;
    private String article_user_name;
    private String portrait;
    private int visit_num;
    private int share_num;
    private int like_num;
    private int reply_num;
    private long create_time;
    @SerializedName("photo_json")
    private List<PhotoEntity> mImages;
    private String share_url;
    private int is_super_member;

    public int getIs_super_member() {
        return is_super_member;
    }

    public void setIs_super_member(int is_super_member) {
        this.is_super_member = is_super_member;
    }

    public String getShare_url() {
        return share_url;
    }

    public void setShare_url(String share_url) {
        this.share_url = share_url;
    }

    public void setCommunity_article_id(int community_article_id) {
        this.community_article_id = community_article_id;
    }

    public void setArticle_title(String article_title) {
        this.article_title = article_title;
    }

    public void setArticle_content(String article_content) {
        this.article_content = article_content;
    }

    public void setType_name(String type_name) {
        this.type_name = type_name;
    }

    public void setIs_like(int is_like) {
        this.is_like = is_like;
    }

    public void setArticle_user_id(int article_user_id) {
        this.article_user_id = article_user_id;
    }

    public void setArticle_user_name(String article_user_name) {
        this.article_user_name = article_user_name;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public void setVisit_num(int visit_num) {
        this.visit_num = visit_num;
    }

    public void setShare_num(int share_num) {
        this.share_num = share_num;
    }

    public void setLike_num(int like_num) {
        this.like_num = like_num;
    }

    public void setReply_num(int reply_num) {
        this.reply_num = reply_num;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public void setImages(List<PhotoEntity> images) {
        this.mImages = images;
    }

    public int getCommunity_article_id() {
        return community_article_id;
    }

    public String getArticle_title() {
        return article_title;
    }

    public String getArticle_content() {
        return article_content;
    }

    public String getType_name() {
        return type_name;
    }

    public int getIs_like() {
        return is_like;
    }

    public int getArticle_user_id() {
        return article_user_id;
    }

    public String getArticle_user_name() {
        return article_user_name;
    }

    public String getPortrait() {
        return portrait;
    }

    public int getVisit_num() {
        return visit_num;
    }

    public int getShare_num() {
        return share_num;
    }

    public int getLike_num() {
        return like_num;
    }

    public int getReply_num() {
        return reply_num;
    }

    public long getCreate_time() {
        return create_time;
    }

    public List<PhotoEntity> getImages() {
        return mImages;
    }


    @Override
    public String toString() {
        return super.toString();

    }
}
